<?php
if(Zend_Auth::getInstance()->hasIdentity()) {
    return ;
}
?>
<a href="<?= $this->url(array('controller' => 'user', 'action' => 'login'), 'default', true) ?>"><?= $this->translate('XXX_LAYOUT_LOGIN_LABEL') ?></a>
|
<a href="<?= $this->url(array('controller' => 'user', 'action' => 'register'), 'default', true) ?>"><?= $this->translate('XXX_LAYOUT_REGISTER_LABEL') ?></a>